/**
 The MIT License

Copyright (c) <2011> <JPACHUBE Team>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
 */
package com.pachube.api;

/**
 * The Interface Data.
 */
public interface Data {

    /**
     * Gets the id.
     * 
     * @return the id
     */
    public int getId();

    /**
     * Sets the id.
     * 
     * @param id the new id
     */
    public void setId(String id);

    /**
     * Sets the id.
     * 
     * @param id the new id
     */
    public void setId(int id);

    /**
     * Gets the tag.
     * 
     * @return the tag
     */
    public String getTag();

    /**
     * Sets the tag.
     * 
     * @param tag the new tag
     */
    public void setTag(String tag);

    /**
     * Gets the value.
     * 
     * @return the value
     */
    public double getValue();

    /**
     * Sets the value.
     * 
     * @param value the new value
     */
    public void setValue(String value);

    /**
     * Sets the value.
     * 
     * @param value the new value
     */
    public void setValue(double value);

    /**
     * Gets the min value.
     * 
     * @return the min value
     */
    public Double getMinValue();

    /**
     * Sets the min value.
     * 
     * @param minValue the new min value
     */
    public void setMinValue(Double minValue);

    /**
     * Sets the min value.
     * 
     * @param minValue the new min value
     */
    public void setMinValue(String minValue);

    /**
     * Gets the max value.
     * 
     * @return the max value
     */
    public Double getMaxValue();

    /**
     * Sets the max value.
     * 
     * @param maxValue the new max value
     */
    public void setMaxValue(Double maxValue);

    /**
     * Sets the max value.
     * 
     * @param maxValue the new max value
     */
    public void setMaxValue(String maxValue);

    /**
     * To xml with wrapper.
     * 
     * @return the string
     */
    public String toXMLWithWrapper();

    /**
     * To xml.
     * 
     * @return the string
     */
    public String toXML();

    /**
     * To string.
     * 
     * @return the string
     */
    public String toString();

}